{include file="public/toper"/}
<style>
    .layui-unselect{width: 190px;}
</style>
<div class="x-body">
    <form action="" method="post" class="layui-form" id="forms">
        <input type="hidden" value="{$list.broadcast_id}" name="broadcast_id">
        <div class="layui-form-item">
            <label class="layui-form-label"><span class="x-red">*</span>用户</label>
            <div class="layui-input-block">
                <select name="user_id">
                    {volist name="user" id="vo"}
                    <option value="{$vo.user_id}" {if condition = "$list.user_id eq $vo.user_id "}selected="selected"{/if}>{$vo.name}</option>
                    {/volist}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><span class="x-red">*</span>类型</label>
            <div class="layui-input-block">
                <select name="type">
                    <option value="0" {if condition = "$list.type eq 0 "}selected="selected"{/if}>销售</option>
                    <option value="1" {if condition = "$list.type eq 1 "}selected="selected"{/if}>共享</option>
                    <option value="2" {if condition = "$list.type eq 2 "}selected="selected"{/if}>开通会员</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label for="content" class="layui-form-label">
                <span class="x-red">*</span>描述
            </label>
            <div class="layui-input-inline">
                <input type="text" value="{$list.content}" id="content" name="content" required="" lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <button  class="layui-btn" lay-filter="formSubmit" lay-submit="">提交</button>
        </div>
    </form>
</div>
{include file="public/footer"/}